package main.com.dhj.test01

object test07 {
    def main(args: Array[String]): Unit = {

        class Point(var x: Int = 0, var y: Int = 0);

        val origin = new Point();
        val point = new Point(10);
        println(point.x + "---" + point.y);
    }

}
